package com.csdj.springboottest.util;

import org.springframework.util.DigestUtils;

public class EncryptUtil {


    public static  String getMd5(String msg){
        return DigestUtils.md5DigestAsHex(msg.getBytes());
    }
}
